package com.sixbro.oauth2.constant;

/**
 * @Author: Mr.Lu
 * @Since: 2020/6/14 22:57
 *
 * 认证相关配置文件Properties
 */
public class AuthProperties {

    /**
     * 授权码获取code登录页面URL{@value}
     */
    public static final String LOGIN_PAGE = "/authorize/login";

    /**
     * 认证成功URL{@value}
     */
    public static final String LOGIN_PROCESS_URL = "/authorize/login/process";

    /**
     * 获取授权码后返回URL{@value}
     */
    public static final String AUTHORIZE_CODE = "/authorize/code";

    /**
     * 自定义授权页面URL{@value}
     */
    public static final String CONFIRM_ACCESS = "/oauth/confirm_access";

    /**
     * 自定义授权错误页面URL{@value}
     */
    public static final String CONFIRM_ACCESS_ERROR = "/oauth/error";

    /**
     * 用户名参数名称
     */
    public static final String USERNAME_PARAMETER_NAME = "username";

    /**
     * 密码参数名称
     */
    public static final String PASSWORD_PARAMETER_NAME = "password";
}
